#include "groupChat.h"
#include "ui_chat.h"

groupChat::Chat(QTcpSocket *s, QString user, QString chatW, QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Chat)
{
    ui->setupUi(this);
    _socket = s;
    _username = user;
    _chatWith = chatW;
}

Chat::~Chat()
{
    delete ui;
}
